package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_DUTY_MESSAGE")
@ApiModel(value = "大屏-值班消息表")
public class ScreenDutyMessage extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "排序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private Long sort;

    @ApiModelProperty(value = "展示标题")
    @TableField(value = "TITLE")
    @JsonProperty(value = "title")
    private String title;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_PERSON_NO")
    @JsonProperty(value = "createPerson")
    private String createPerson;

    @ApiModelProperty(value = "数据状态")
    @TableField(value = "STATUS")
    @JsonProperty(value = "status")
    private String status;

    @ApiModelProperty(value = "主体内容")
    @TableField(value = "MAIN_BODY")
    @JsonProperty(value = "mainBody")
    private String mainBody;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value = "标签编码")
    @TableField(value = "TAG_CODE")
    @JsonProperty(value = "tagCode")
    private String tagCode;

    @ApiModelProperty(value = "上报id")
    @TableField(value = "ORIGIN_MSG_ID")
    @JsonProperty(value = "originMsgId")
    private String originMsgId;

    @ApiModelProperty(value = "URL")
    @TableField(value = "URL")
    @JsonProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "部门id")
    @TableField(value = "SEND_DEPT_ID")
    @JsonProperty(value = "sendDeptID")
    private String sendDeptID;


    @ApiModelProperty(value = "部门名")
    @TableField(value = "SEND_DEPT_NAME")
    @JsonProperty(value = "sendDeptName")
    private String sendDeptName;


    @ApiModelProperty(value="所属关区编码")
    @TableField(value ="BELONG_CUSTOM_CODE")
    @JsonProperty(value = "beLongCustomCode")
    private String beLongCustomCode;

    @ApiModelProperty(value="HB系统的数据ID")
    @TableField(value ="HB_ID")
    @JsonProperty(value = "hbId")
    private String hbId;

    @ApiModelProperty(value="HB的发送时间")
    @TableField(value ="HB_SEND_TIME")
    @JsonProperty(value = "hbSendTime")
    private String hbSendTime;

    @ApiModelProperty(value="提取URL地址")
    @TableField(value ="EXTRACT_URL")
    @JsonProperty(value = "extractUrl")
    private String extractUrl;

}
